package com.wandong.cinema.service;

import com.wandong.cinema.entity.Ticket;

import java.util.List;

public interface TicketService {
    Ticket sellTicket(String showId, List<String> seatIds, boolean isChild) throws Exception;
    boolean refundTicket(String ticketId) throws Exception;
    List<String> getSoldSeats(String showId);
    Ticket getTicketByTicketId(String ticketId);
    void statisticsByDay();
    void statisticsByWeek();
    void statisticsByMonth();
}
